package com.ct.deadlockdetetor.domain.allocation.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class RequestResourceDTO {

    /**
     * 进程id
     */
    @NotNull(message = "进程id不能为空")
    private Integer processId;

    /**
     * 资源id
     */
    @NotNull(message = "资源id不能为空")
    private Integer resourceId;

    /**
     * 请求的实例数
     */
    @NotNull(message = "请求的实例数不能为空")
    private Integer allocatedInstances;
}
